ArcFM Responder Mobile Developer Guide
IsNullOrEmpty<T>(IEnumerable<T>) Method






Type of items in the collection to check
Checks if a System.Collections.Generic.IEnumerable`1 is either null or contains no items
Syntax
'Declaration
 
<System.Runtime.CompilerServices.ExtensionAttribute()>
Public Overloads Shared Function IsNullOrEmpty(Of T)( _
   ByVal items As System.Collections.Generic.IEnumerable(Of T) _
) As System.Boolean
'Usage
 
Dim items As System.Collections.Generic.IEnumerable(Of T)
Dim value As System.Boolean
 
value = EnumerableExtensions.IsNullOrEmpty(Of T)(items)
[System.Runtime.CompilerServices.Extension()]
public static System.bool IsNullOrEmpty<T>( 
   System.Collections.Generic.IEnumerable<T> items
)
public function IsNullOrEmpty( 
    items: System.Collections.Generic.IEnumerable
): System.Boolean; static; 
System.Runtime.CompilerServices.ExtensionAttribute()
public static function IsNullOrEmpty( 
   items : System.Collections.Generic.IEnumerable
) : System.boolean;
[System.Runtime.CompilerServices.Extension()]
public: static System.bool IsNullOrEmpty<T>( 
   System.Collections.Generic.IEnumerable<T*>* items
) 
[System.Runtime.CompilerServices.Extension()]
public:
static System.bool IsNullOrEmptygeneric<typename T>
( 
   System.Collections.Generic.IEnumerable<T^>^ items
) 

Parameters

items

Type Parameters

T
Type of items in the collection to check

Return Value

true if null or no items in the collection.false otherwise
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EnumerableExtensions Class
EnumerableExtensions Members
Overload List

Send Feedback